package com.zhou.syt.hosp.repository;

import com.atguigu.yygh.model.hosp.Department;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: DepartmentRespotitory
 * @Description:
 * @Author: admin
 * @Date: 2022/1/8 21:02
 */
@Repository
public interface DepartmentRespotitory extends MongoRepository<Department,String> {
    Department getDepartmentByHoscodeAndDepcode(String depcode, String hoscode);
}
